package com.woniu.airent.service.impl;

import com.woniu.airent.mapper.ArticleMapper;
import com.woniu.airent.service.ArticleManageService;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleManageServiceImpl implements ArticleManageService {

    @Autowired
    ArticleMapper mapper;

    @Override
    public int updataArticleStatus(int status, int id) {
        int result = mapper.updataArticleStatsu(status,id);
        return 0;
    }
}
